package com.jetsum.micro.controller;

import com.jetsum.micro.service.BusinessHandleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BusinessController {

    @Autowired
    private BusinessHandleService businessHandleService;

    @GetMapping("/business")
    public String business(@RequestParam int count){
        return businessHandleService.business(count);
    }
}
